package cevent.source.cloudcenter.system.controller;/**
 * Created by Cevent on 2021/2/20.
 */
import cevent.source.cloudcenter.server.domain.FirstTable;
import cevent.source.cloudcenter.server.service.FirstTableService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author cevent
 * @description 第一张表控制层
 * @date 2021/2/20 13:31
 */
@RestController
@RequestMapping("/first")
public class FirstTableController {
    @Resource
    private FirstTableService firstTableService;

    //1.第一次测试
    @RequestMapping("/firstList")
    public List<FirstTable> firstTables(){
        return firstTableService.firstTableList();
    }
}
